package com.linlin.song.bigwork.service;

import java.sql.SQLException;

import com.linlin.song.bigwork.dao.AdminDao;
import com.linlin.song.bigwork.entity.Admin;

public class AdminService {
    private AdminDao adminDao = new AdminDao();

    public Admin findByName(String name) throws SQLException {
        return this.adminDao.findByName(name);
    }
}
